package rpg;

import java.util.Timer;
import java.util.TimerTask;


public class Reminder{
	protected int atime=0;
	Timer timer;
	public Reminder(int sec){
		timer=new java.util.Timer();
		timer.schedule(new RemindTask(), sec*1000);
	}
	
	class RemindTask extends TimerTask{
		@Override
		public void run() {
			
			timer.cancel();
		}
		
	}
}